package com.arelikebrothers.lottery.data.core;

import com.arelikebrothers.lottery.data.core.utils.ApplicationContextHelper;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * Created by lennon on 12/08/2017.
 */
@EnableJpaRepositories
@ComponentScan("com.arelikebrothers.lottery.data.core.**")
@EnableAutoConfiguration
public class LotteryDataCoreConfig {

    @Bean
    public ApplicationContextHelper getApplicationContextHelper()
    {
        return new ApplicationContextHelper();
    }
}
